//
//  DevelopTableViewCell.m
//  Civacrm
//
//  Created by 王桂敏 on 2017/2/8.
//  Copyright © 2017年 王桂敏. All rights reserved.
//

#import "DevelopTableViewCell.h"

@implementation DevelopTableViewCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        [self initView];
    }
    return self;
}
- (void)initView{
    self.backgroundColor = WhiteColor;
    
    UIImageView *imageView = [UIImageView imageViewWithFrame:CGRectMake(w(20), h(19), w(5), h(20)) image:nil];
    imageView.backgroundColor = GlobalBlue;
    [self addSubview:imageView];
    
    self.titleLabel = [UILabel labelWithTitle:nil frame:CGRectMake(getMaxX(imageView) + w(11), imageView.y, w(100), imageView.height) font:font(22) textColor:GlobalBlue bgColor:WhiteColor];
    [self addSubview:self.titleLabel];
    
    self.developImageView = [UIImageView imageViewWithFrame:CGRectMake(0, h(101), w(173), h(263)) image:@"bg_building"];
    self.developImageView.centerX = kScreenWidth / 2;
    [self addSubview:self.developImageView];
}
-(void)layoutSubviews {
    [super layoutSubviews];
   
    
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
